<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts: lib/stringsup.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">ESP8266ILI9341DisplayProject</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_97aefd0d527b934f1d99a682da8fe6a9.html">lib</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">stringsup.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="stringsup_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#ifndef _STRINGSUP_H_</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#define _STRINGSUP_H_</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">// Named address space</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#ifndef MEMSPACE</span></div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">   28</a></span>&#160;<span class="preprocessor">#define MEMSPACE </span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">// Weak attribute</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#ifndef WEAK_ATR</span></div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="stringsup_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">   33</a></span>&#160;<span class="preprocessor">#define WEAK_ATR __attribute__((weak))</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#undef isdigit</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#undef isupper</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#undef islower</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#undef tolower</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#undef toupper</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="comment">/* stringsup.c */</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="stringsup_8h.html#afb71eee07aa9545ed2ec23f865eea315">sep</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="stringsup_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a> <a class="code" href="stringsup_8h.html#a8c33a3f5b4322e705d3403f63d55b0a1">isdigit</a> ( <span class="keywordtype">int</span> c );</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="stringsup_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a> <a class="code" href="stringsup_8h.html#aa1caa55b6624cc08af06c04cbfe6c02a">isupper</a> ( <span class="keywordtype">int</span> c );</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="stringsup_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a> <a class="code" href="stringsup_8h.html#a15c5aeb16e6527e860098b0e062168b5">islower</a> ( <span class="keywordtype">int</span> c );</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="stringsup_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a> <a class="code" href="stringsup_8h.html#a1825e0085bbbce998b39f9ff2682173c">tolower</a> ( <span class="keywordtype">int</span> c );</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="stringsup_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a> <a class="code" href="stringsup_8h.html#a96a73ab9e374d97a249f39eb6875ba79">toupper</a> ( <span class="keywordtype">int</span> c );</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> *<a class="code" href="stringsup_8h.html#a76693775d57cf00d7cdb2e793ffd73f1">memchr</a> ( <span class="keyword">const</span> <span class="keywordtype">void</span> *str , <span class="keywordtype">int</span> c , <span class="keywordtype">size_t</span> size );</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">size_t</span> <a class="code" href="stringsup_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a> <a class="code" href="stringsup_8h.html#a895ea3a2f9901e4c962806cc15271339">strlen</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *str );</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="stringsup_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a> <span class="keywordtype">char</span> *<a class="code" href="stringsup_8h.html#ad88a87f58b2b4a12f6644aa46ecc1baa">strcpy</a> ( <span class="keywordtype">char</span> *dest , <span class="keyword">const</span> <span class="keywordtype">char</span> *src );</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="stringsup_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a> <span class="keywordtype">char</span> *<a class="code" href="stringsup_8h.html#acdb13cf3724e976e98a6178baf0a3ac5">strncpy</a> ( <span class="keywordtype">char</span> *dest , <span class="keyword">const</span> <span class="keywordtype">char</span> *src , <span class="keywordtype">size_t</span> size );</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="stringsup_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a> <span class="keywordtype">char</span> *<a class="code" href="stringsup_8h.html#ad88a87f58b2b4a12f6644aa46ecc1baa">strcpy</a> ( <span class="keywordtype">char</span> *dest , <span class="keyword">const</span> <span class="keywordtype">char</span> *src );</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="stringsup_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a> <span class="keywordtype">char</span> *<a class="code" href="stringsup_8h.html#a5c9fb6fae0723d90a3b652ad6d869eb4">strcat</a> ( <span class="keywordtype">char</span> *dest , <span class="keyword">const</span> <span class="keywordtype">char</span> *src );</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="stringsup_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a> <span class="keywordtype">char</span> *<a class="code" href="stringsup_8h.html#af7f9d4db489856461ccf1c577b0035a5">strncat</a> ( <span class="keywordtype">char</span> *dest , <span class="keyword">const</span> <span class="keywordtype">char</span> *src , <span class="keywordtype">size_t</span> max );</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="stringsup_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a> <a class="code" href="stringsup_8h.html#a00b9d97be21e4f3f5df1019a803c05a6">reverse</a> ( <span class="keywordtype">char</span> *str );</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="stringsup_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a> <a class="code" href="stringsup_8h.html#a25ac5a1dbdfa1d06d55448cd7b665d1d">strupper</a> ( <span class="keywordtype">char</span> *str );</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="stringsup_8h.html#a2d7ec9dae4f58c027edbc22118714ba6">trim_tail</a> ( <span class="keywordtype">char</span> *str );</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">char</span> *<a class="code" href="stringsup_8h.html#a8cebaf955a9e3b5f1f2af105641dad40">skipspaces</a> ( <span class="keywordtype">char</span> *ptr );</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">char</span> *<a class="code" href="stringsup_8h.html#a205ab859e76086c5239a49effa3281dd">nextspace</a> ( <span class="keywordtype">char</span> *ptr );</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">char</span> *<a class="code" href="stringsup_8h.html#aae86b90fc6ccc0c432de5c492cdcbaba">skipchars</a> ( <span class="keywordtype">char</span> *str , <span class="keywordtype">char</span> *pat );</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="stringsup_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a> <a class="code" href="stringsup_8h.html#abee00aec80e542c31b536a531ffe761a">strcmp</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *str , <span class="keyword">const</span> <span class="keywordtype">char</span> *pat );</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="stringsup_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a> <a class="code" href="stringsup_8h.html#ac8c58d100b5e1ef176592486bb150bbc">strncmp</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *str , <span class="keyword">const</span> <span class="keywordtype">char</span> *pat , <span class="keywordtype">size_t</span> len );</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="stringsup_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a> <a class="code" href="stringsup_8h.html#a5b20054fe279135f819d1c561f081649">strcasecmp</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *str , <span class="keyword">const</span> <span class="keywordtype">char</span> *pat );</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="stringsup_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a> <a class="code" href="stringsup_8h.html#af2fdec8b4be40840ac03df58d48bcc8d">strncasecmp</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *str , <span class="keyword">const</span> <span class="keywordtype">char</span> *pat , <span class="keywordtype">size_t</span> len );</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="stringsup_8h.html#a9fb9c5c9b25cdf504152f7610f0d118c">MATCH</a> ( <span class="keywordtype">char</span> *str , <span class="keywordtype">char</span> *pat );</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="stringsup_8h.html#ae330bc7e8f9c442404f44ca0187b27d3">MATCHARGS</a> ( <span class="keywordtype">char</span> *str , <span class="keywordtype">char</span> *pat , <span class="keywordtype">int</span> min , <span class="keywordtype">int</span> argc );</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="stringsup_8h.html#a158b18efacfbaf45bf46e03f355cf101">MATCHI</a> ( <span class="keywordtype">char</span> *str , <span class="keywordtype">char</span> *pat );</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="stringsup_8h.html#ac85ba7d5161939102f1daf99dcae85f0">MATCH_LEN</a> ( <span class="keywordtype">char</span> *str , <span class="keywordtype">char</span> *pat );</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="stringsup_8h.html#ab012fa46a47fa2430d6ebd25ed38c59e">MATCHI_LEN</a> ( <span class="keywordtype">char</span> *str , <span class="keywordtype">char</span> *pat );</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="stringsup_8h.html#a84aa635d9cf4f3d41608b9e5639f71e9">split_args</a> ( <span class="keywordtype">char</span> *str , <span class="keywordtype">char</span> *argv [], <span class="keywordtype">int</span> max );</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">char</span> *<a class="code" href="stringsup_8h.html#a9387f7db4933b1bafd14bddad8e8c9c8">get_token</a> ( <span class="keywordtype">char</span> *str , <span class="keywordtype">char</span> *<a class="code" href="stringsup_8h.html#ae9142769a957bcb8c0fad1934576f576">token</a> , <span class="keywordtype">int</span> max );</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="stringsup_8h.html#ae9142769a957bcb8c0fad1934576f576">token</a> ( <span class="keywordtype">char</span> *str , <span class="keywordtype">char</span> *pat );</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="earth2wireframe_8c.html#a32f2e37ee053cf2ce8ca28d1f74630e5">int32_t</a> <a class="code" href="stringsup_8h.html#a9cc256e4952848245227600da2552e34">get_value</a> ( <span class="keywordtype">char</span> *str );</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">char</span> *<a class="code" href="stringsup_8h.html#a11f9265694fbed4de67d91c6959a0d18">strnalloc</a> ( <span class="keywordtype">char</span> *str , <span class="keywordtype">int</span> len );</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<a class="code" href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">char</span> *<a class="code" href="stringsup_8h.html#a354472f280e9fe08820d6f32e0feddae">stralloc</a> ( <span class="keywordtype">char</span> *str );</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="stringsup_8h_html_ac85ba7d5161939102f1daf99dcae85f0"><div class="ttname"><a href="stringsup_8h.html#ac85ba7d5161939102f1daf99dcae85f0">MATCH_LEN</a></div><div class="ttdeci">MEMSPACE int MATCH_LEN(char *str, char *pat)</div><div class="ttdoc">Compare two strings limted to length of pattern. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00511">stringsup.c:511</a></div></div>
<div class="ttc" id="earth2wireframe_8c_html_a32f2e37ee053cf2ce8ca28d1f74630e5"><div class="ttname"><a href="earth2wireframe_8c.html#a32f2e37ee053cf2ce8ca28d1f74630e5">int32_t</a></div><div class="ttdeci">int int32_t</div><div class="ttdef"><b>Definition:</b> <a href="earth2wireframe_8c_source.html#l00043">earth2wireframe.c:43</a></div></div>
<div class="ttc" id="stringsup_8h_html_a9fb9c5c9b25cdf504152f7610f0d118c"><div class="ttname"><a href="stringsup_8h.html#a9fb9c5c9b25cdf504152f7610f0d118c">MATCH</a></div><div class="ttdeci">MEMSPACE int MATCH(char *str, char *pat)</div><div class="ttdoc">Compare two strings. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00455">stringsup.c:455</a></div></div>
<div class="ttc" id="stringsup_8h_html_a895ea3a2f9901e4c962806cc15271339"><div class="ttname"><a href="stringsup_8h.html#a895ea3a2f9901e4c962806cc15271339">strlen</a></div><div class="ttdeci">MEMSPACE size_t WEAK_ATR strlen(const char *str)</div><div class="ttdoc">String Length. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00146">stringsup.c:146</a></div></div>
<div class="ttc" id="stringsup_8h_html_a354472f280e9fe08820d6f32e0feddae"><div class="ttname"><a href="stringsup_8h.html#a354472f280e9fe08820d6f32e0feddae">stralloc</a></div><div class="ttdeci">MEMSPACE char * stralloc(char *str)</div><div class="ttdoc">Allocate space for string. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00774">stringsup.c:774</a></div></div>
<div class="ttc" id="stringsup_8h_html_a15c5aeb16e6527e860098b0e062168b5"><div class="ttname"><a href="stringsup_8h.html#a15c5aeb16e6527e860098b0e062168b5">islower</a></div><div class="ttdeci">MEMSPACE int WEAK_ATR islower(int c)</div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00080">stringsup.c:80</a></div></div>
<div class="ttc" id="stringsup_8h_html_aa1caa55b6624cc08af06c04cbfe6c02a"><div class="ttname"><a href="stringsup_8h.html#aa1caa55b6624cc08af06c04cbfe6c02a">isupper</a></div><div class="ttdeci">MEMSPACE int WEAK_ATR isupper(int c)</div><div class="ttdoc">Is a character upper case. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00064">stringsup.c:64</a></div></div>
<div class="ttc" id="stringsup_8h_html_a9387f7db4933b1bafd14bddad8e8c9c8"><div class="ttname"><a href="stringsup_8h.html#a9387f7db4933b1bafd14bddad8e8c9c8">get_token</a></div><div class="ttdeci">MEMSPACE char * get_token(char *str, char *token, int max)</div><div class="ttdoc">return next token </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00628">stringsup.c:628</a></div></div>
<div class="ttc" id="stringsup_8h_html_a9cc256e4952848245227600da2552e34"><div class="ttname"><a href="stringsup_8h.html#a9cc256e4952848245227600da2552e34">get_value</a></div><div class="ttdeci">MEMSPACE int32_t get_value(char *str)</div><div class="ttdoc">get a number </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00706">stringsup.c:706</a></div></div>
<div class="ttc" id="stringsup_8h_html_ad0fe97585b8891f5e4f2b9a6426330a4"><div class="ttname"><a href="stringsup_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a></div><div class="ttdeci">#define MEMSPACE</div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8h_source.html#l00028">stringsup.h:28</a></div></div>
<div class="ttc" id="stringsup_8h_html_a5b20054fe279135f819d1c561f081649"><div class="ttname"><a href="stringsup_8h.html#a5b20054fe279135f819d1c561f081649">strcasecmp</a></div><div class="ttdeci">MEMSPACE int WEAK_ATR strcasecmp(const char *str, const char *pat)</div><div class="ttdoc">Compare two strings without case. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00410">stringsup.c:410</a></div></div>
<div class="ttc" id="stringsup_8h_html_acdb13cf3724e976e98a6178baf0a3ac5"><div class="ttname"><a href="stringsup_8h.html#acdb13cf3724e976e98a6178baf0a3ac5">strncpy</a></div><div class="ttdeci">MEMSPACE WEAK_ATR char * strncpy(char *dest, const char *src, size_t size)</div><div class="ttdoc">copy a string of at most N characters </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00179">stringsup.c:179</a></div></div>
<div class="ttc" id="stringsup_8h_html_a84aa635d9cf4f3d41608b9e5639f71e9"><div class="ttname"><a href="stringsup_8h.html#a84aa635d9cf4f3d41608b9e5639f71e9">split_args</a></div><div class="ttdeci">MEMSPACE int split_args(char *str, char *argv[], int max)</div><div class="ttdoc">Split string into arguments stored in argv[] We split source string into arguments Warning: source st...</div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00566">stringsup.c:566</a></div></div>
<div class="ttc" id="stringsup_8h_html_a205ab859e76086c5239a49effa3281dd"><div class="ttname"><a href="stringsup_8h.html#a205ab859e76086c5239a49effa3281dd">nextspace</a></div><div class="ttdeci">MEMSPACE char * nextspace(char *ptr)</div><div class="ttdoc">Skip to first white space in a string - tabs and spaces. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00306">stringsup.c:306</a></div></div>
<div class="ttc" id="stringsup_8h_html_a8cebaf955a9e3b5f1f2af105641dad40"><div class="ttname"><a href="stringsup_8h.html#a8cebaf955a9e3b5f1f2af105641dad40">skipspaces</a></div><div class="ttdeci">MEMSPACE char * skipspaces(char *ptr)</div><div class="ttdoc">Skip white space in a string - tabs and spaces. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00289">stringsup.c:289</a></div></div>
<div class="ttc" id="stringsup_8h_html_ae9142769a957bcb8c0fad1934576f576"><div class="ttname"><a href="stringsup_8h.html#ae9142769a957bcb8c0fad1934576f576">token</a></div><div class="ttdeci">MEMSPACE int token(char *str, char *pat)</div><div class="ttdoc">Search for token in a string matching user pattern. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00671">stringsup.c:671</a></div></div>
<div class="ttc" id="stringsup_8h_html_a1825e0085bbbce998b39f9ff2682173c"><div class="ttname"><a href="stringsup_8h.html#a1825e0085bbbce998b39f9ff2682173c">tolower</a></div><div class="ttdeci">MEMSPACE int WEAK_ATR tolower(int c)</div><div class="ttdoc">Convert character to lower case, only if it is upper case. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00096">stringsup.c:96</a></div></div>
<div class="ttc" id="stringsup_8h_html_a5c9fb6fae0723d90a3b652ad6d869eb4"><div class="ttname"><a href="stringsup_8h.html#a5c9fb6fae0723d90a3b652ad6d869eb4">strcat</a></div><div class="ttdeci">MEMSPACE WEAK_ATR char * strcat(char *dest, const char *src)</div><div class="ttdoc">Append string. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00199">stringsup.c:199</a></div></div>
<div class="ttc" id="stringsup_8h_html_aae86b90fc6ccc0c432de5c492cdcbaba"><div class="ttname"><a href="stringsup_8h.html#aae86b90fc6ccc0c432de5c492cdcbaba">skipchars</a></div><div class="ttdeci">MEMSPACE char * skipchars(char *str, char *pat)</div><div class="ttdoc">Skip characters defined in user string. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00328">stringsup.c:328</a></div></div>
<div class="ttc" id="stringsup_8h_html_abee00aec80e542c31b536a531ffe761a"><div class="ttname"><a href="stringsup_8h.html#abee00aec80e542c31b536a531ffe761a">strcmp</a></div><div class="ttdeci">MEMSPACE int WEAK_ATR strcmp(const char *str, const char *pat)</div><div class="ttdoc">Compare two strings. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00362">stringsup.c:362</a></div></div>
<div class="ttc" id="stringsup_8h_html_a25ac5a1dbdfa1d06d55448cd7b665d1d"><div class="ttname"><a href="stringsup_8h.html#a25ac5a1dbdfa1d06d55448cd7b665d1d">strupper</a></div><div class="ttdeci">MEMSPACE void WEAK_ATR strupper(char *str)</div><div class="ttdoc">UPPERCASE a string. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00253">stringsup.c:253</a></div></div>
<div class="ttc" id="stringsup_8h_html_a2d7ec9dae4f58c027edbc22118714ba6"><div class="ttname"><a href="stringsup_8h.html#a2d7ec9dae4f58c027edbc22118714ba6">trim_tail</a></div><div class="ttdeci">MEMSPACE void trim_tail(char *str)</div><div class="ttdoc">Trim White space and control characters from end of string. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00271">stringsup.c:271</a></div></div>
<div class="ttc" id="stringsup_8h_html_a399da2caab82ec1bb3d5a8fbc5306768"><div class="ttname"><a href="stringsup_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a></div><div class="ttdeci">#define WEAK_ATR</div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8h_source.html#l00033">stringsup.h:33</a></div></div>
<div class="ttc" id="stringsup_8h_html_ad88a87f58b2b4a12f6644aa46ecc1baa"><div class="ttname"><a href="stringsup_8h.html#ad88a87f58b2b4a12f6644aa46ecc1baa">strcpy</a></div><div class="ttdeci">MEMSPACE WEAK_ATR char * strcpy(char *dest, const char *src)</div><div class="ttdoc">copy a string </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00161">stringsup.c:161</a></div></div>
<div class="ttc" id="stringsup_8h_html_af7f9d4db489856461ccf1c577b0035a5"><div class="ttname"><a href="stringsup_8h.html#af7f9d4db489856461ccf1c577b0035a5">strncat</a></div><div class="ttdeci">MEMSPACE WEAK_ATR char * strncat(char *dest, const char *src, size_t max)</div><div class="ttdoc">Append string of at most N bytes from src. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00214">stringsup.c:214</a></div></div>
<div class="ttc" id="stringsup_8h_html_a76693775d57cf00d7cdb2e793ffd73f1"><div class="ttname"><a href="stringsup_8h.html#a76693775d57cf00d7cdb2e793ffd73f1">memchr</a></div><div class="ttdeci">MEMSPACE void * memchr(const void *str, int c, size_t size)</div><div class="ttdoc">find a character in a string of maximum size </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00125">stringsup.c:125</a></div></div>
<div class="ttc" id="stringsup_8h_html_a00b9d97be21e4f3f5df1019a803c05a6"><div class="ttname"><a href="stringsup_8h.html#a00b9d97be21e4f3f5df1019a803c05a6">reverse</a></div><div class="ttdeci">MEMSPACE void WEAK_ATR reverse(char *str)</div><div class="ttdoc">Reverse a string in place Example: abcdef -&gt; fedcba. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00231">stringsup.c:231</a></div></div>
<div class="ttc" id="stringsup_8h_html_af2fdec8b4be40840ac03df58d48bcc8d"><div class="ttname"><a href="stringsup_8h.html#af2fdec8b4be40840ac03df58d48bcc8d">strncasecmp</a></div><div class="ttdeci">MEMSPACE int WEAK_ATR strncasecmp(const char *str, const char *pat, size_t len)</div><div class="ttdoc">Compare two strings without case maximum len bytes in size. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00432">stringsup.c:432</a></div></div>
<div class="ttc" id="stringsup_8h_html_a96a73ab9e374d97a249f39eb6875ba79"><div class="ttname"><a href="stringsup_8h.html#a96a73ab9e374d97a249f39eb6875ba79">toupper</a></div><div class="ttdeci">MEMSPACE int WEAK_ATR toupper(int c)</div><div class="ttdoc">Convert character to upper case, only if it is lower case. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00112">stringsup.c:112</a></div></div>
<div class="ttc" id="stringsup_8h_html_ab012fa46a47fa2430d6ebd25ed38c59e"><div class="ttname"><a href="stringsup_8h.html#ab012fa46a47fa2430d6ebd25ed38c59e">MATCHI_LEN</a></div><div class="ttdeci">MEMSPACE int MATCHI_LEN(char *str, char *pat)</div><div class="ttdoc">Compare two strings without case limted to length of pattern. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00537">stringsup.c:537</a></div></div>
<div class="ttc" id="stringsup_8h_html_a11f9265694fbed4de67d91c6959a0d18"><div class="ttname"><a href="stringsup_8h.html#a11f9265694fbed4de67d91c6959a0d18">strnalloc</a></div><div class="ttdeci">MEMSPACE char * strnalloc(char *str, int len)</div><div class="ttdoc">Allocate space for string with maximum size. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00750">stringsup.c:750</a></div></div>
<div class="ttc" id="stringsup_8h_html_a158b18efacfbaf45bf46e03f355cf101"><div class="ttname"><a href="stringsup_8h.html#a158b18efacfbaf45bf46e03f355cf101">MATCHI</a></div><div class="ttdeci">MEMSPACE int MATCHI(char *str, char *pat)</div><div class="ttdoc">Compare two strings without case. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00493">stringsup.c:493</a></div></div>
<div class="ttc" id="stringsup_8h_html_a8c33a3f5b4322e705d3403f63d55b0a1"><div class="ttname"><a href="stringsup_8h.html#a8c33a3f5b4322e705d3403f63d55b0a1">isdigit</a></div><div class="ttdeci">MEMSPACE int WEAK_ATR isdigit(int c)</div><div class="ttdoc">test if a character is a digit </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00048">stringsup.c:48</a></div></div>
<div class="ttc" id="stringsup_8h_html_afb71eee07aa9545ed2ec23f865eea315"><div class="ttname"><a href="stringsup_8h.html#afb71eee07aa9545ed2ec23f865eea315">sep</a></div><div class="ttdeci">MEMSPACE void sep(void)</div><div class="ttdoc">undo any existing macros </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00032">stringsup.c:32</a></div></div>
<div class="ttc" id="stringsup_8h_html_ae330bc7e8f9c442404f44ca0187b27d3"><div class="ttname"><a href="stringsup_8h.html#ae330bc7e8f9c442404f44ca0187b27d3">MATCHARGS</a></div><div class="ttdeci">MEMSPACE int MATCHARGS(char *str, char *pat, int min, int argc)</div><div class="ttdoc">Match two strings and compare argument index Display message if the number of arguments is too few...</div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00471">stringsup.c:471</a></div></div>
<div class="ttc" id="stringsup_8h_html_ac8c58d100b5e1ef176592486bb150bbc"><div class="ttname"><a href="stringsup_8h.html#ac8c58d100b5e1ef176592486bb150bbc">strncmp</a></div><div class="ttdeci">MEMSPACE int WEAK_ATR strncmp(const char *str, const char *pat, size_t len)</div><div class="ttdoc">Compare two strings maximum len bytes in size. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00386">stringsup.c:386</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 31 2018 21:22:16 for ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
